	//동호회 정보
	function clsClubAdminControl_Info(){
		this.listData = null;
		this._HTMLDom = null;
		this._init();
	}
	
	clsClubAdminControl_Info.prototype = {
		_init: function(){
			var $layer = $("section#club_admin_control");
			this._HTMLDom = {
				"$layer": $layer
				, "$element" : $layer.find(">section>ul")
			}
		}
		, setList: function(thisData){
			this.display(thisData);
		}
		, display: function(thisData){
			var $element = this._HTMLDom["$element"];
			$element.find("li:eq(0) div.cont").html(thisData["동호회명"]);
			$element.find("li:eq(1) div.cont").html(thisData["동호회소개"]);
			if(thisData["가입유형"] == "N"){
				$element.find("li:eq(2) div.cont").html("누구나 가입가능");				
				$element.find("li:eq(3)").hide();
			}else {
				$element.find("li:eq(2) div.cont").html("승인 후 가입가능");					
			}			
			$element.find("li:eq(3) div.cont").html(thisData["가입질문"]);
			$element.find("li:eq(4) div.cont").html(thisData["키워드"]);
			$element.find("li:eq(5) div.cont").html(thisData["카테고리"]["카테고리명"]);			
			$element.find("li:eq(6) div.cont img").attr("src", _util.getDefaultClubImage(thisData["상단스킨"]));
			$element.find("li:eq(7) div.cont img").attr("src", _util.getDefaultClubImage(thisData["배너이미지"]));
		}
		, $getLayer: function(){
			return this._HTMLDom["$layer"];
		}
	}
	
	//데이터연동		
	function clsComm_ClubAdminControl(){
		this.searchRequest = null;
		this.adminControlList = null;
		this._init();
	}	
	clsComm_ClubAdminControl.prototype = {
		_init: function(){
			searchRequest = {
				"키": "1"
				, "아이디": "golfIn3"
			}
		}
	}
	
	//컨트롤파일
	function ClubAdminControl(){
		this.club_seq = null;
		
		this.club_info = null;
		this.objComm = null;
		this.objClubAdminControl_Info = null;
	};
	
	ClubAdminControl.prototype = {
			onPageShow : function() {
	    	$("a").attr("href", "").attr("data-rel", "");      
	    	this._init();	    		    	
	    }
	    , _beforeStart: function(){
	    	var 	thisClass = this;
	    	
	    	this._permitStart = {
				"동호회정보": false	
				}
				
		  		// 서버 메시지맵
				$.ajax({
					url: "../js/src/club/club_inc.js"
					, type: "get"
					, dataType: "script"
					, async: false
					, success: function(ret, sta){
						//alert("success!!");					
					}
					, error:function(e){
						//alert("error=" + e);
					}	
				});
				
				_cb.getClubInfoData({
					"콜백": function(ret, l){
						thisClass._permitStart["동호회정보"] = true;	
					}
				});
				
				_util.executeThread(function(){
					for(key in thisClass._permitStart){		
						if(!thisClass._permitStart[key]) return false;
					}
					return (true);
				}, function(){			
					thisClass._start();
					thisClass._role();
				});
	    }
	    , _init: function(){
	    	this.objComm = new clsComm_ClubAdminControl();	    	
	    	this.objClubAdminControl_Info = new clsClubAdminControl_Info();
	    	
	    	this._beforeStart();
	     	
	      this.getParam();
	       
			this._bind();
	    }
	    , _start: function(){		    	
		    	this.club_info = _cb.getClubInfo();
		    	
		    	this._role();
		    	
		    	this.spinStart();
		    	this.objClubAdminControl_Info.setList(this.club_info.getInfoData());
		    	
		    	this.spinEnd();
			}
			, _bind: function(){
				var thisClass = this;
				
				//동호회정보 화면으로 이동
				this.objClubAdminControl_Info.$getLayer().find("footer ul li:eq(0) a").click(function(event){
					$.mobile.changePage("club_control.html", "slide", true);
				});
				
				//가입승인 화면으로 이동
				this.objClubAdminControl_Info.$getLayer().find("footer ul li:eq(1) a").click(function(event){
					$.mobile.changePage("club_agree.html", "slide", true);
				});
				
				//동호회 쪽지 화면으로 이동
				this.objClubAdminControl_Info.$getLayer().find("footer ul li:eq(2) a").click(function(event){
					$.mobile.changePage("club_letter.html", "slide", true);
				});
				
				//메뉴
			 	$("section#club_admin_control nav ul li a:eq(0)").click(function(event){
			 		event.preventDefault();
			 		thisClass.goNavi();
			 	});
			 	
			 	//알림
			 	$("section#club_admin_control nav ul li:eq(1)").click(function(event){
			 		event.preventDefault();
			 		$.mobile.changePage("../inc/info_booking.html","slide",true);	
			 	});
			 	
			 	//이전
			 	$("section#club_admin_control header div.top_title_G div.top_left a.btn2").click(function(event){
			 		event.preventDefault();
			 		_gf.CLUB_DATA = {
						"동호회키": thisClass.club_seq	
					}
			 		$.mobile.changePage("self_club.html","slide",true);	
			 	});
		 	
			}
			, getParam: function(){
	    		this.club_seq = _gf.CLUB_DATA["동호회키"];
			}
	    	, _role: function(){
	    		if(!this.club_info.isMember()){
	    			alert(this.club_info.getError());
	    			_gf.CLUB_DATA = {
	    				"동호회키": this.club_seq	
	    			}
	    			$.mobile.changePage("self_club.html","slide",true);
	    			return;
	    		}else if(!this.club_info.isAdmin()){
	    			alert(this.club_info.getError());
	    			_gf.CLUB_DATA = {
	    				"동호회키": this.club_seq	
	    			}
	    			$.mobile.changePage("self_club.html","slide",true);
	    			return;	
	    		}
			}
			, goNavi: function(){			
				$.mobile.changePage("../inc/navi.html","slide",true);
			}
	    	, spinStart: function(){		
				$.mobile.showPageLoadingMsg();			
			}
			, spinEnd: function(){			
	 			$.mobile.hidePageLoadingMsg();				
			}
	}